//
//  MyLocationGetter.h
//  NearPics
//
//  Created by Alex Price on 04/06/2008.
//  Copyright 2008 TheMacBox. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreLocation/CoreLocation.h>
#import <CoreLocation/CLLocationManagerDelegate.h>
#import "MapViewViewController.h"

// needs to be a CLLocationManagerDelegate to get location updates
@interface LocationGetter : NSObject <CLLocationManagerDelegate> {
	CLLocationManager *locationManager;
	MapViewViewController *_main;
}

@property (nonatomic, retain) MapViewViewController *main;

- (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation;
- (void)begin;

@end
